home *** CD-ROM | disk | FTP | other *** search
/ Network Supervisor's Toolkit / Network Supervisor's Toolkit.iso / tools / lu62 / port / dlctb.h < prev    next >
C/C++ Source or Header  |  1996-07-10  |  2KB  |  41 lines

  1. /* k 1003    24/08/90                                      */
  2. /* k 0046       08/09/90        */
  3. /* k 1007    24/09/90           */
  4. /* k 0115       02/02/91        */
  5. /* k 0120       08/02/91        */
  6. /* k 1082       23/03/92        */
  7. /* k 1083       25/03/92        */
  8. struct dlctb {
  9.      char name[8]    ;       /* name dlc                   */
  10.      unsigned char flg  ;    /* flag       ** 1003         *//* @0115 */
  11.      char type       ;       /* type                       */
  12.      char dlccbi     ;       /* dlccb index                */
  13.      char typea      ;       /* type area                  */
  14.      char aadr       ;       /* address area               */
  15.      unsigned char flg1 ;    /* flag 1      ** 1003        *//* @0115 */
  16.      char count      ;       /* use count                  */   /* @0046 */
  17.      char rsrv;              /* 0120 */
  18.      struct rqb *dlcq[3];    /* queue rqb for dlc                1082 */
  19.      short dlcuse    ;       /* free rqb count             */ /* 1082 */
  20.      short dlcsum    ;       /* total rqb count            */ /* 1082 */
  21.      struct rqb *dlcfree ;   /* ptr to free rqb for receive*/ /* 1082 */
  22.      struct rqb *dlclast ;   /* ptr to last rqb for receive*/ /* 1082 */
  23.              };
  24. #define DLCLISTI 0x40        /* status=inactive            */
  25. #define DLCLACTV 0x80        /* already active             */
  26. #define DLCLEXIS 0x20        /* exist dlccb                */
  27. #define DLCOPEN  0x10        /* open flag         1001     */
  28. #define DLCAKK   0x01        /* AKK-type                   */
  29. #define DLCLAN   0x02        /* LAN-type                   */
  30. #define DLCASY   0x03        /* ASY-type                   */
  31. #define DLCBSC   0x04        /* BSC-type                   */
  32. #define DLCSDLC  0x05        /* SDLC-type                  */
  33. #define DLC7920  0x06        /* 7920-type                  */
  34. #define DLCTRN   0x07        /* TRN -type             1007 */
  35. #define DLCTRN39 0x08        /* 8439-type             1007 */
  36. #define DLC7920S 0x09        /* 7920-type (SOLARIS-2 - SUPER ! 1083 */
  37. #define ACTIV    0xfc        /* activate request      1001 */
  38. #define DEACTIV  0xfd        /* deactivate request    1001 */
  39. #define DLC_SEND 0x01        /* send request          1001 */
  40. #define DLC_RCV  0x02        /* receive request       1001 */
  41.